package com.wangx1n.boobey.entity;

/**
@author wangxin
@create 2020-06-12 23:44
*/

/**
 * 用户
 */
public class User {
    /**
     * 用户openid
     */
    private String openid;

    /**
     * 用户微信名
     */
    private String nickname;

    /**
     * 用户性别
     */
    private Integer gender;

    /**
     * 用户语言
     */
    private String language;

    /**
     * 用户所在城市
     */
    private String city;

    /**
     * 用户所在省份
     */
    private String province;

    /**
     * 用户所在国家
     */
    private String country;

    /**
     * 用户头像链接
     */
    private String avatarUrl;

    /**
     * 每日任务量
     */
    private Integer dayTask;

    /**
     * 选择的词典任务
     */
    private Integer dictionary;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getDayTask() {
        return dayTask;
    }

    public void setDayTask(Integer dayTask) {
        this.dayTask = dayTask;
    }

    public Integer getDictionary() {
        return dictionary;
    }

    public void setDictionary(Integer dictionary) {
        this.dictionary = dictionary;
    }

    @Override
    public String toString() {
        return "User{" +
                "openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", gender=" + gender +
                ", language='" + language + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", country='" + country + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", dayTask=" + dayTask +
                ", dictionary=" + dictionary +
                '}';
    }
}